Upper gastrointestinal endoscopy with biopsy and collection of refluxate